package com.vodone.v1pin.brand.vo
{
	import com.vodone.v1pin.productlist.vo.ProductListVO;
	
	import mx.collections.ArrayCollection;
	
	[Bindable]
	public class BrandGroupVO
	{
		public function BrandGroupVO( obj:Object = null )
		{
			if( null != obj )
			{
				parseData(obj);
			}
		}
		
		private function parseData( obj:Object ):void
		{
			if( obj.hasOwnProperty("columnID") )
			{
				groupID = obj["columnID"]
			}
			if( obj.hasOwnProperty("columnName") )
			{
				groupName = obj["columnName"]
			}
			if( obj.hasOwnProperty("brandInfo") )
			{
				list = ProductListVO.parseList( obj , "brandInfo" , BrandItemVO );
			}
		}
		
		public var groupID:String = "";
		public var groupName:String = "";
		public var list:ArrayCollection;
	}
}